using System;
using System.Collections.Generic;
namespace ServiceStack.DataAnnotations
{
	[AttributeUsage]
	public class CompositeKeyAttribute : AttributeBase
	{
		public List<string> FieldNames
		{
			get;
			set;
		}
		public CompositeKeyAttribute()
		{
			this.FieldNames = new List<string>();
		}
		public CompositeKeyAttribute(params string[] fieldNames)
		{
			this.FieldNames = new List<string>(fieldNames);
		}
	}
}
